<div id="fullBg" class="fullBg none"></div>
<div id="tallying_detail_dialog" class="dialog none dialogSubmit">
	<div class="dialogTitle">理货清单</div>
	<button class="closeDiv">×</button>
	<div class="dialogContent">
		<script type="text/template" class="tpl">
			{@each datas as it}
			<div class="dialogDataLine">
				<div>理货员：
					<input type="text" value="${it.clerkName}" />
				</div>
				<div>随车理货：
					<select value="${it.withCar}" class="withCar">
					</select>
				</div>
			</div>
			<div class="dialogDataLine">
				<div>车牌号：
					<input type="text" value="${it.plateNumber}" />
				</div>
				<div>理货附件：
					<a target="_blank" href="/finance/api/v1.0/downloadFile.file?fileUuid=${it.tallyingFile}">理货附件</a>
				</div>
			</div>
			<div class="dialogDataLine">
				<div>司机电话：
					<input type="text" value="${it.driverTel}" />
				</div>
				<div>司机：
					<input type="text" value="${it.driver}" />
				</div>
			</div>
			<div class="dialogDataLine">
				<div>箱号：
					<input type="text" value="${it.containerInventorys[0].caseNumber}" />
				</div>
				<div>箱型尺寸：
					<input type="text" value="${it.containerInventorys[0].caseSize}" />
				</div>
			</div>
			<div class="dialogDataLine">
				<div>铅封号：
					<input type="text" value="${it.containerInventorys[0].facingSlip}" />
				</div>
				<div>铅封号2：
					<input type="text" value="${it.containerInventorys[0].facingSlipNext}" />
				</div>
			</div>
			<div class="dialogDataLine">
				<div>运单号：
					<input type="text" value="${it.containerInventorys[0].waybillNumber}" />
				</div>
				<div></div>
			</div>
			<table>
				<tr>
					<th>货物名称</th>
					<th>规格型号</th>
					<th>数量</th>
					<th>重量</th>
					<th>体积</th>
					<th>托盘号</th>
					<th>理货前图片</th>
					<th>理货后图片</th>
				</tr>
				{@each it.containerInventorys as that}
				{@each that.containerBulkstocks as item}
				<tr>
					<td>${item.bulkstockName}</td>
					<td>${item.specification}</td>
					<td>${item.quantity}${item.unit}</td>
					<td>${item.weight}吨</td>
					<td>${item.volume}m³</td>
					<td>${item.trayNumber}</td>
					<td>${item.trayNumber}</td>
					<td>${item.trayNumber}</td>
				</tr>
				{@/each}
				{@/each}
			</table>
			{@/each}
		</script>
	</div>
	<div class="footerBtn">
		<div class="sure_yes dialogBtn dialogHandlerBtn">确定</div>
	</div>
</div>